
#ifndef _SierpinskinGame_
#define _SierpinskinGame_
//#include "myHead.h"
//#include "RendBase.h"
//class MouseAndKeyboard
class RendBase;
class MouseAndKeyboardBase;
class LogicHandler;
class SierpinskinGame 
{
public:
	
	bool initGl();
	void render();

	//for input
	void onMouseEvent(int button, int state, int x, int y);//only press mouse button
	void onMouseMotionEvent(int x, int y);//move and press mouse button
	void onMousePassiveMotionEvent(int x, int y);// only move
	void onKeyboardEvent(unsigned char key, int x, int y);


private:
	RendBase* m_render;
	MouseAndKeyboardBase* m_input;
	LogicHandler* m_handler;
	
};









#endif
